package com.qfedu.knowledge.entity.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName RoleBO
 * @Author ykx
 * @Date 2024/4/26 10:26
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = false)
@Data
@TableName("sys_role_t")
public class RoleBO extends BaseColumn {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 角色名
     */
    @TableField(value = "role_name")
    private String roleName;

    /**
     * 角色类型
     */
    @TableField(value = "role_type")
    private Integer roleType;

    /**
     * 菜单权限
     */
    @TableField(value = "rights")
    private String rights;


}
